﻿<Window x:Class="ServerCrafter.WPF.MainWindow"
				xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
				xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:vm="clr-namespace:ServerCrafter.ClassLibrary.ViewModels;assembly=ServerCrafter.ClassLibrary"
				xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        Title="ServerCrafter" Height="600" Width="1100" ResizeMode="NoResize" WindowStyle="None">

    <Window.Resources>
        <vm:VMCommands x:Key="ViewModel" />

        <DataTemplate x:Key="ComboBoxCustomTemplate">
            <Grid Margin="0 3">
                <Grid.ColumnDefinitions>
                    <ColumnDefinition />
                </Grid.ColumnDefinitions>
                <Grid.RowDefinitions>
                    <RowDefinition />
                    <RowDefinition />
                </Grid.RowDefinitions>
                <TextBlock Grid.ColumnSpan="2" Text="{Binding Property}" />
                <TextBlock Grid.Row="1" Text="Value:" />
                <TextBlock Grid.Row="1" Foreground="#FFA2D0FF" Margin="40,0,0,0" Text="{Binding Value}" />
            </Grid>
        </DataTemplate>
    </Window.Resources>

    <Grid>
        <Grid.ColumnDefinitions>
            <ColumnDefinition />
        </Grid.ColumnDefinitions>
        <telerik:RadTabControl x:Name="tabcontrolMain" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Height="507" Margin="0,93,0,0" VerticalAlignment="Top" Width="1100">
            <telerik:RadTabItem x:Name="RadTabItem" Header="General" Height="62" Width="135" FontSize="30" FontFamily="Segoe UI Light">
                <Grid Background="Transparent">
                    <Grid.ColumnDefinitions>
                        <ColumnDefinition />
                    </Grid.ColumnDefinitions>
                    <telerik:RadButton x:Name="btnStartServer" Content="Start Server" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" VerticalAlignment="Top" Height="50" Width="265" Margin="10,10,0,0" FontSize="19" Click="btnStartServer_Click" />
                    <telerik:RadButton x:Name="btnStopServer" Content="Stop Server" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" VerticalAlignment="Top" Height="50" Width="130" Margin="10,120,0,0" FontSize="19" Click="btnStopServer_Click" />
                    <telerik:RadButton x:Name="btnKillServer" Content="Kill Server" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" VerticalAlignment="Top" Height="50" Width="130" Margin="145,120,0,0" FontSize="19" Click="btnKillServer_Click" />
                    <telerik:RadButton x:Name="btnRestartServer" Content="Restart Server" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" VerticalAlignment="Top" Height="50" Width="130" Margin="10,65,0,0" FontSize="19" Click="btnRestartServer_Click" />
                    <telerik:RadButton x:Name="btnReloadPlugins" Content="Reload Plugins" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" VerticalAlignment="Top" Height="50" Width="130" Margin="145,65,0,0" FontSize="19" Click="btnReloadPlugins_Click" />
                    <telerik:RadButton x:Name="btnSaveAll" Content="Save All" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" VerticalAlignment="Top" Height="50" Width="265" Margin="10,200,0,0" FontSize="19" Click="btnSaveAll_Click" />
                    <telerik:RadRichTextBox x:Name="txtboxOutput" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Height="390" IsSelectionMiniToolBarEnabled="False" IsReadOnly="True" IsSpellCheckingEnabled="False" Margin="280,10,0,0" VerticalAlignment="Top" Width="455" FontFamily="Consolas" FontSize="2" TextOptions.TextFormattingMode="Display" TextOptions.TextHintingMode="Animated" HorizontalScrollBarVisibility="Disabled" />
                    <telerik:RtfDataProvider RichTextBox="{Binding ElementName=txtboxOutput}" />
                    <telerik:RadAutoCompleteBox x:Name="txtboxCommand" SelectedItem="{Binding SelectedCommand, Mode=TwoWay}"  ItemsSource="{Binding Commands, Source={StaticResource ViewModel}}" DisplayMemberPath="ACommand" HorizontalAlignment="Left" telerik:StyleManager.Theme="Modern" Margin="280,405,0,0" VerticalAlignment="Top" Width="330" Height="30" KeyDown="txtboxCommand_KeyDown" />
                    <telerik:RadButton x:Name="btnExecuteCmd" Content="Execute" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" VerticalAlignment="Top" Height="30" Width="120" Margin="615,405,0,0" FontSize="19" Click="btnExecuteCmd_Click" />
                    <telerik:RadToggleButton x:Name="toggleAutoScroll" Content="Auto Scroll" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="185,370,0,0" VerticalAlignment="Top" FontSize="15" RenderTransformOrigin="0.5,0.5" Height="30" Width="90" IsChecked="True" Click="toggleAutoScroll_Click" />
                    <telerik:RadToggleButton x:Name="toggleSayCmd" Content="Say" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="185,405,0,0" VerticalAlignment="Top" FontSize="15" Height="30" Width="90" Click="toggleSayCmd_Click" />
                    <telerik:RadButton x:Name="btnClearOutput" Content="Clear Output" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" VerticalAlignment="Top" Height="30" Width="168" Margin="10,405,0,0" FontSize="15" Click="btnClearOutput_Click" />
                    <Label x:Name="lblServerStatus" Content="Server is not running." HorizontalAlignment="Left" Margin="10,375,0,0" VerticalAlignment="Top" FontSize="15" FontFamily="Segoe UI " Foreground="#FFF1F1F1" />
                    <telerik:RadProgressBar x:Name="progbarCpuServerCrafter" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Height="20" Margin="837,60,0,0" VerticalAlignment="Top" Width="253" />
                    <Label Content="CPU Usage:" HorizontalAlignment="Left" Margin="740,10,0,0" VerticalAlignment="Top" Width="135" Foreground="White" Height="45" FontSize="25" />
                    <Label Content="ServerCrafter:" HorizontalAlignment="Left" Margin="740,55,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                    <telerik:RadProgressBar x:Name="progbarCpuServer" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Height="20" Margin="837,89,0,0" VerticalAlignment="Top" Width="253" />
                    <Label Content="Server:" HorizontalAlignment="Left" Margin="780,84,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" Height="26" />
                    <telerik:RadProgressBar x:Name="progbarCpuComputer" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Height="20" Margin="837,118,0,0" VerticalAlignment="Top" Width="253" />
                    <Label Content="Computer:" HorizontalAlignment="Left" Margin="759,110,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                    <telerik:RadProgressBar x:Name="progbarRamServerCrafter" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Height="20" Margin="836,196,0,0" VerticalAlignment="Top" Width="253" />
                    <Label Content="RAM Usage:" HorizontalAlignment="Left" Margin="739,146,0,0" VerticalAlignment="Top" Width="135" Foreground="White" Height="45" FontSize="25" />
                    <Label Content="ServerCrafter:" HorizontalAlignment="Left" Margin="739,191,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                    <telerik:RadProgressBar x:Name="progbarRamServer" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Height="20" Margin="836,225,0,0" VerticalAlignment="Top" Width="253" />
                    <Label Content="Server:" HorizontalAlignment="Left" Margin="779,220,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" Height="26" />
                    <telerik:RadProgressBar x:Name="progbarRamComputer" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Height="20" Margin="836,254,0,0" VerticalAlignment="Top" Width="253" />
                    <Label Content="Computer:" HorizontalAlignment="Left" Margin="758,246,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                    <Label Content="IP Address:" HorizontalAlignment="Left" Margin="740,316,0,0" VerticalAlignment="Top" Width="135" Foreground="White" Height="45" FontSize="25" />
                    <Label Content="Port Number:" HorizontalAlignment="Left" Margin="740,356,0,0" VerticalAlignment="Top" Width="165" Foreground="White" Height="45" FontSize="25" />
                    <Label Content="Port Open:" HorizontalAlignment="Left" Margin="740,396,0,0" VerticalAlignment="Top" Width="165" Foreground="White" Height="45" FontSize="25" />
                    <Label x:Name="lblIpAddress" Content="192.168.0.1" HorizontalAlignment="Left" Margin="875,326,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                    <Label x:Name="lblPortNumber" Content="25565" HorizontalAlignment="Left" Margin="899,366,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                    <Label x:Name="lblPortOpen" Content="Yes" HorizontalAlignment="Left" Margin="875,406,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                    <Label Content="Server Uptime:" HorizontalAlignment="Left" Margin="740,276,0,0" VerticalAlignment="Top" Width="165" Foreground="White" Height="45" FontSize="25" />
                    <Label x:Name="lblServerUptime" Content="0 hours 0 minutes 0 seconds" HorizontalAlignment="Left" Margin="910,286,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                </Grid>
            </telerik:RadTabItem>
            <telerik:RadTabItem x:Name="RadTabItem_Copy" Header="Options" Height="62" Width="130" FontSize="30" FontFamily="Segoe UI Light">
                <Grid Background="Transparent">
                    <telerik:RtfDataProvider RichTextBox="{Binding ElementName=txtboxOutput}" />
                    <telerik:GroupBox x:Name="groupboxUIOptions" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="10,127,0,0" VerticalAlignment="Top" Height="308" Width="420" Header="USER INTERFACE OPTIONS">
                        <Grid HorizontalAlignment="Left" Height="246" VerticalAlignment="Top" Width="450">
                            <telerik:RadColorEditor x:Name="coloreditorUIColors" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="-4,82,0,-45" VerticalAlignment="Top" FontSize="12" Height="209" Width="410" Foreground="#FFECECEC" SelectedColorChanged="coloreditorUIColors_SelectedColorChanged" />
                            <telerik:RadRadioButton x:Name="toggleColorInfo" Content="Info" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="9,28,0,0" VerticalAlignment="Top" FontSize="12" Width="94" Click="UiColorToggleChanged" />
                            <telerik:RadRadioButton x:Name="toggleColorWarning" Content="Warning" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="9,55,0,0" VerticalAlignment="Top" FontSize="12" Width="94" Click="UiColorToggleChanged" />
                            <telerik:RadRadioButton x:Name="toggleColorSevere" Content="Severe" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="109,28,0,0" VerticalAlignment="Top" FontSize="12" Width="95" Click="UiColorToggleChanged" />
                            <telerik:RadRadioButton x:Name="toggleColorOther" Content="Other" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="311,55,0,0" VerticalAlignment="Top" FontSize="12" Width="95" Click="UiColorToggleChanged" />
                            <telerik:RadRadioButton x:Name="toggleColorPlayerJoin" Content="Player Join" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="211,28,0,0" VerticalAlignment="Top" FontSize="12" Width="95" Click="UiColorToggleChanged" />
                            <telerik:RadRadioButton x:Name="toggleColorPlayerLeave" Content="Player Leave" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="211,55,0,0" VerticalAlignment="Top" FontSize="12" Width="95" Click="UiColorToggleChanged" />
                            <telerik:RadRadioButton x:Name="toggleColorServerCrafter" Content="ServerCrafter" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="312,28,0,0" VerticalAlignment="Top" FontSize="12" Width="94" />
                            <telerik:RadRadioButton x:Name="toggleColorChat" Content="Chat" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="109,55,0,0" VerticalAlignment="Top" FontSize="12" Width="95" Click="UiColorToggleChanged" />
                            <Label Content="Server output colors:" HorizontalAlignment="Left" Margin="9,-1,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                        </Grid>
                    </telerik:GroupBox>
                    <telerik:GroupBox x:Name="groupboxUIOptions_Copy" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="10,10,0,0" VerticalAlignment="Top" Height="117" Width="405" Header="SERVER PROPERTIES">
                        <Grid Height="95" VerticalAlignment="Top" Margin="0,0,-12,-16">
                            <telerik:RadComboBox x:Name="comboboxProperties" telerik:TextSearch.TextPath="Value" ItemsSource="{Binding Properties}" ItemTemplate="{StaticResource ComboBoxCustomTemplate}" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="1,6,0,0" VerticalAlignment="Top" Width="388" EmptyText="Select a property to change" IsFilteringEnabled="True" ClearSelectionButtonVisibility="Visible" TextSearchMode="Contains" ClearSelectionButtonContent="None" HorizontalContentAlignment="Stretch" UseLayoutRounding="True" Height="40" SelectionChanged="comboboxProperties_SelectionChanged" FontFamily="Segoe UI" />
                            <telerik:RadWatermarkTextBox x:Name="txtboxPropertyValue" WatermarkContent="Value of selected property" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="1,51,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="313" SelectionOnFocus="SelectAll" KeyDown="txtboxPropertyValue_KeyDown" Height="28" />
                            <telerik:RadButton x:Name="btnSetProperties" Content="Set" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="319,51,0,0" VerticalAlignment="Top" FontSize="12" Height="28" Width="70" Click="btnSetProperties_Click" />
                        </Grid>
                    </telerik:GroupBox>
                    <telerik:GroupBox x:Name="groupboxUIOptions_Copy1" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="420,10,0,0" VerticalAlignment="Top" Height="255" Width="670" Header="SERVER LAUNCH OPTIONS" Background="{x:Null}">
                        <Grid Margin="0,0,-12,0">
                            <telerik:RadSlider x:Name="sliderMaximumRamAllocation" HorizontalAlignment="Left" telerik:StyleManager.Theme="Modern" Margin="318,48,0,0" VerticalAlignment="Top" Width="343" Maximum="4048" Height="20" SmallChange="50" LargeChange="100" ValueChanged="sliderMaximumRamAllocation_ValueChanged" />
                            <Label Content="Maximum RAM Allocation:" HorizontalAlignment="Left" Margin="6,43,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                            <telerik:RadWatermarkTextBox x:Name="txtboxMaximumRamAllocation" WatermarkContent="RAM Amount in MB" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="176,43,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="137" SelectionOnFocus="SelectAll" KeyDown="txtboxPropertyValue_KeyDown" TextChanged="txtboxMaximumRamAllocation_TextChanged" />
                            <Label Content="Server jar file:" HorizontalAlignment="Left" Margin="6,77,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                            <telerik:RadRadioButton x:Name="toggleJarLocationCraftBukkit" Content="CraftBukkit" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="100,81,0,0" VerticalAlignment="Top" FontSize="12" Width="181" Click="toggleJarLocationCraftBukkit_Click" IsChecked="True" />
                            <telerik:RadRadioButton x:Name="toggleJarLocationVanilla" Content="Vanilla" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="294,81,0,0" VerticalAlignment="Top" FontSize="12" Width="181" Click="toggleJarLocationVanilla_Click" />
                            <telerik:RadRadioButton x:Name="toggleJarLocationVanillaForge" Content="Vanilla with Forge" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="480,81,0,0" VerticalAlignment="Top" FontSize="12" Width="181" Click="toggleJarLocationVanillaForge_Click" />
                            <telerik:RadWatermarkTextBox x:Name="txtboxJarFileLocation" WatermarkContent="Location of jar file" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="100,114,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="481" SelectionOnFocus="SelectAll" Height="28" TextChanged="txtboxJarFileLocation_TextChanged" />
                            <telerik:RadRadioButton x:Name="toggleJarLocationCustom" Content="Custom:" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="12,114,0,0" VerticalAlignment="Top" FontSize="12" Width="83" Height="28" Click="toggleJarLocationCustom_Click" />
                            <telerik:RadButton x:Name="btnEditJarFileLocation" Content="Edit" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="586,114,0,0" VerticalAlignment="Top" FontSize="12" Height="28" Width="75" Click="btnEditJarFileLocation_Click" />
                            <Label Content="Arguments:" HorizontalAlignment="Left" Margin="12,181,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                            <telerik:RadWatermarkTextBox x:Name="txtboxAdditionalParams" WatermarkContent="Custom arguments for launching the server" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="99,181,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="561" SelectionOnFocus="SelectAll" Height="28" TextChanged="txtboxAdditionalParams_TextChanged" />
                            <telerik:RadSlider x:Name="sliderInitialRamAllocation" HorizontalAlignment="Left" telerik:StyleManager.Theme="Modern" Margin="318,14,0,0" VerticalAlignment="Top" Width="343" ValueChanged="sliderInitialRamAllocation_ValueChanged" Maximum="4048" Height="20" SmallChange="50" LargeChange="100" />
                            <Label Content="Initial RAM Allocation:" HorizontalAlignment="Left" Margin="6,9,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                            <telerik:RadWatermarkTextBox x:Name="txtboxInitialRamAllocation" WatermarkContent="RAM Amount in MB" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="148,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="165" SelectionOnFocus="SelectAll" KeyDown="txtboxPropertyValue_KeyDown" TextChanged="txtboxInitialRamAllocation_TextChanged" />
                            <Label Content="Server Files Directory:" HorizontalAlignment="Left" Margin="12,147,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" />
                            <telerik:RadWatermarkTextBox x:Name="txtboxWorkingDirectory" WatermarkContent="Directory where the server files will be stored" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="150,147,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="431" SelectionOnFocus="SelectAll" Height="28" TextChanged="txtboxWorkingDirectory_TextChanged" />
                            <telerik:RadButton x:Name="btnEditWorkingDirectory" Content="Edit" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="586,147,0,0" VerticalAlignment="Top" FontSize="12" Height="28" Width="75" Click="btnEditWorkingDirectory_Click" />
                        </Grid>
                    </telerik:GroupBox>
                </Grid>
            </telerik:RadTabItem>
            <telerik:RadTabItem x:Name="RadTabItem_Copy2" Header="Player List" Height="62" Width="164" FontSize="30" FontFamily="Segoe UI Light">
                <Grid Background="Transparent">
                    <telerik:RtfDataProvider RichTextBox="{Binding ElementName=txtboxOutput}" />
                    <telerik:RadGridView x:Name="gridviewPlayers" telerik:StyleManager.Theme="Modern"  HorizontalAlignment="Left" Margin="10,43,0,0" VerticalAlignment="Top" Width="1080" Height="392" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" RowDetailsVisibilityMode="VisibleWhenSelected" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible">
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Player Name" Width="270" />
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding World}" Header="World Name" Width="270" />
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding Ip}" Header="IP Address" Width="270" />
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding Id}" Header="Entity ID" Width="258" />
                        </telerik:RadGridView.Columns>
                        <telerik:RadGridView.RowDetailsTemplate>
                            <DataTemplate>
                                <Grid HorizontalAlignment="Left" Height="110" VerticalAlignment="Top" Width="550" Background="#FF3C3C3C">
                                    <Label Content="{Binding Name}" HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top" Foreground="White" FontSize="30" />
                                    <telerik:RadButton x:Name="btnDeletePlugin" Tag="{Binding Name}" Content="Delete Plugin" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="10,55,0,0" VerticalAlignment="Top" FontSize="14" Width="260" Height="42" Click="btnDeletePlugin_Click" />
                                </Grid>
                            </DataTemplate>
                        </telerik:RadGridView.RowDetailsTemplate>
                    </telerik:RadGridView>
                    <telerik:RadWatermarkTextBox x:Name="txtboxPluginsSearch_Copy" telerik:StyleManager.Theme="Modern" WatermarkContent="Search for players by name, IP adress, entity ID or world name" HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="1080" TextChanged="txtboxPluginsSearch_TextChanged" />
                </Grid>
            </telerik:RadTabItem>
            <telerik:RadTabItem x:Name="RadTabItem_Copy1" Header="Task Manager" Height="62" Width="243" FontSize="30" FontFamily="Segoe UI Light">
                <Grid Background="Transparent">
                    <telerik:RtfDataProvider RichTextBox="{Binding ElementName=txtboxOutput}" />
                </Grid>
            </telerik:RadTabItem>
            <telerik:RadTabItem x:Name="RadTabItem_Copy3" Header="Plugin Manager" Height="62" Width="259" FontSize="30" FontFamily="Segoe UI Light">
                <Grid Background="Transparent">
                    <telerik:RtfDataProvider RichTextBox="{Binding ElementName=txtboxOutput}" />
                    <telerik:RadTabControl x:Name="tabcontrolPlugins" telerik:StyleManager.Theme="Modern" Margin="10" TabStripPlacement="Left" TabOrientation="Vertical" Align="Right" SelectionChanged="tabcontrolPlugins_SelectionChanged">
                        <telerik:RadTabItem x:Name="RadTabItem1" Header="Installed Plugins" Height="185" Width="50" FontSize="22" FontFamily="Segoe UI Light">
                            <Grid x:Name="tab1" Background="Transparent" Margin="3,0,0,0">
                                <telerik:RadButton x:Name="btnOpenPluginsFolder" Content="Open Plugins Folder" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="565,10,0,0" VerticalAlignment="Top" FontSize="14" Width="317" Height="28" Click="btnOpenPluginsFolder_Click" />
                                <telerik:RadWatermarkTextBox x:Name="txtboxInstalledPluginsSearch" telerik:StyleManager.Theme="Modern" WatermarkContent="Search for installed plugins" HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="550" TextChanged="txtboxInstalledPluginsSearch_TextChanged" />
                                <Rectangle Fill="#FF2D2D30" HorizontalAlignment="Left" Height="372" Margin="565,43,0,0" Stroke="#FF3F3F46" VerticalAlignment="Top" Width="317" />
                                <TextBlock HorizontalAlignment="Left" Margin="604,193,0,0" TextWrapping="Wrap" Text="Drag and drop plugins here to add to the plugins folder." VerticalAlignment="Top" FontSize="14" Foreground="#FFCBCBCB" TextAlignment="Center" FontFamily="Segoe UI " />
                                <TextBlock HorizontalAlignment="Left" Margin="677,235,0,0" TextWrapping="Wrap" Text="(Coming soon...)" VerticalAlignment="Top" FontSize="14" Foreground="#FFCBCBCB" TextAlignment="Center" FontFamily="Segoe UI " FontStyle="Italic" />
                                <telerik:RadGridView x:Name="gridviewInstalledPlugins" telerik:StyleManager.Theme="Modern"  HorizontalAlignment="Left" Margin="10,43,0,0" VerticalAlignment="Top" Width="550" Height="372" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" RowDetailsVisibilityMode="VisibleWhenSelected" MaxColumnWidth="600" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible">
                                    <telerik:RadGridView.Columns>
                                        <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" Width="538" />
                                    </telerik:RadGridView.Columns>
                                    <telerik:RadGridView.RowDetailsTemplate>
                                        <DataTemplate>
                                            <Grid HorizontalAlignment="Left" Height="110" VerticalAlignment="Top" Width="538" Background="#FF3C3C3C">
                                                <Label Content="{Binding Name}" HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top" Foreground="White" FontSize="30" />
                                                <telerik:RadButton x:Name="btnDeletePlugin" Tag="{Binding Name}" Content="Delete Plugin" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="10,55,0,0" VerticalAlignment="Top" FontSize="14" Width="518" Height="42" Click="btnDeletePlugin_Click" />
                                            </Grid>
                                        </DataTemplate>
                                    </telerik:RadGridView.RowDetailsTemplate>
                                </telerik:RadGridView>
                            </Grid>
                        </telerik:RadTabItem>
                        <telerik:RadTabItem x:Name="RadTabItem1_Copy" Header="Get Plugins" Height="185" Width="50" FontSize="22" FontFamily="Segoe UI Light">
                            <Grid x:Name="tab2" Background="Transparent" Margin="3,0,0,0">
                                <telerik:RadWatermarkTextBox x:Name="txtboxPluginsSearch" telerik:StyleManager.Theme="Modern" WatermarkContent="Search for plugins on dev.bukkit.org" HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="872" TextChanged="txtboxPluginsSearch_TextChanged" />
                                <telerik:RadGridView x:Name="gridviewPlugins" ItemsSource="{Binding vm:VmPlugins.Plugins}" telerik:StyleManager.Theme="Modern"  HorizontalAlignment="Left" Margin="10,43,0,0" VerticalAlignment="Top" Width="872" Height="372" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" RowDetailsVisibilityMode="VisibleWhenSelected" ScrollViewer.VerticalScrollBarVisibility="Visible" ScrollViewer.HorizontalScrollBarVisibility="Disabled">
                                    <telerik:RadGridView.Columns>
                                        <telerik:GridViewDataColumn x:Name="gr" DataMemberBinding="{Binding Name}" Header="Name" Width="200" />
                                        <telerik:GridViewDataColumn DataMemberBinding="{Binding PluginVersion}" Header="Version" Width="120" />
                                        <telerik:GridViewDataColumn DataMemberBinding="{Binding GameVersion}" Header="Game Version" Width="120" />
                                        <telerik:GridViewDataColumn DataMemberBinding="{Binding Type}" Header="Type" Width="100" />
                                        <telerik:GridViewDataColumn DataMemberBinding="{Binding Categories}" Header="Categories" Width="320" />
                                    </telerik:RadGridView.Columns>
                                    <telerik:RadGridView.RowDetailsTemplate>
                                        <DataTemplate>
                                            <Grid Margin="10, 10, 10, 10">
                                                <Label  x:Name="lblPluginName" Content="{Binding Name}" HorizontalAlignment="Left" Margin="10,0,0,0" VerticalAlignment="Top" Foreground="White" FontSize="30" />
                                                <telerik:RadButton x:Name="btnInstallPlugin" Content="Install Plugin" Tag="{Binding Index}" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="697,9,0,0" VerticalAlignment="Top" FontSize="14" Width="145" Height="42" Click="btnInstallPlugin_Click" />
                                                <telerik:RadButton x:Name="btnGoToPluginPage" Content="Go To Plugin Page" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="697,56,0,0" VerticalAlignment="Top" FontSize="14" Width="145" Height="41" Click="toggleJarLocationCustom_Click" />
                                                <telerik:RadButton x:Name="btnPluginViewChangelog" Content="View Changelog" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="697,102,0,0" VerticalAlignment="Top" FontSize="14" Width="145" Height="42" Click="toggleJarLocationCustom_Click" />
                                                <Label Content="Newest version:" HorizontalAlignment="Left" Margin="479,7,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI Semibold" />
                                                <Label Content="{Binding PluginVersion}" HorizontalAlignment="Left" Margin="594,7,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI" />
                                                <Label Content="Game version:" HorizontalAlignment="Left" Margin="489,36,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI Semibold" />
                                                <Label Content="{Binding GameVersion}" HorizontalAlignment="Left" Margin="594,36,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI" />
                                                <Label Content="Status:" HorizontalAlignment="Left" Margin="548,65,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI Semibold" />
                                                <Label Content="{Binding Status}" HorizontalAlignment="Left" Margin="594,65,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI" />
                                                <Label Content="Type:" HorizontalAlignment="Left" Margin="546,93,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI Semibold" />
                                                <Label Content="{Binding Type}" HorizontalAlignment="Left" Margin="594,94,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI" />
                                                <Label Content="Release date:" HorizontalAlignment="Left" Margin="494,122,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI Semibold" />
                                                <Label Content="{Binding ReleaseDate}" HorizontalAlignment="Left" Margin="594,122,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI" />
                                                <Label Content="Categories:" HorizontalAlignment="Left" Margin="10,122,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI Semibold" />
                                                <Label Content="{Binding Categories}" HorizontalAlignment="Left" Margin="90,122,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI" />
                                                <TextBlock HorizontalAlignment="Left" Margin="10,50,0,0" TextWrapping="Wrap" Text="{Binding Description}" VerticalAlignment="Top" Height="74" Width="462" FontSize="14" FontFamily="Segoe UI " Foreground="#FFE6E6E6" />
                                            </Grid>
                                        </DataTemplate>
                                    </telerik:RadGridView.RowDetailsTemplate>
                                </telerik:RadGridView>
                            </Grid>
                        </telerik:RadTabItem>
                    </telerik:RadTabControl>
                </Grid>
            </telerik:RadTabItem>
            <telerik:RadTabItem x:Name="RadTabItem_Copy4" Header="Mod Manager" Height="62" Width="243" FontSize="30" FontFamily="Segoe UI Light">
                <Grid Background="Transparent">
                    <telerik:RtfDataProvider RichTextBox="{Binding ElementName=txtboxOutput}" />
                    <telerik:RadButton x:Name="btnOpenModsFolder" Content="Open Mods Folder" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="773,226,0,0" VerticalAlignment="Top" FontSize="14" Width="317" Height="28" Click="btnOpenModsFolder_Click" />
                    <telerik:RadGridView x:Name="gridviewInstalledCoreMods" telerik:StyleManager.Theme="Modern"  HorizontalAlignment="Left" Margin="10,67,0,0" VerticalAlignment="Top" Width="376" Height="368" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" RowDetailsVisibilityMode="VisibleWhenSelected" MaxColumnWidth="376" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible">
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" Width="364" />
                        </telerik:RadGridView.Columns>
                        <telerik:RadGridView.RowDetailsTemplate>
                            <DataTemplate>
                                <Grid HorizontalAlignment="Left" Height="110" VerticalAlignment="Top" Width="376" Background="#FF3C3C3C">
                                    <Label Content="{Binding Name}" HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top" Foreground="White" FontSize="30" />
                                    <telerik:RadButton x:Name="btnDeletePlugin" Tag="{Binding Name}" Content="Delete Plugin" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="10,55,0,0" VerticalAlignment="Top" FontSize="14" Width="344" Height="42" Click="btnDeleteCoreMod_Click" />
                                </Grid>
                            </DataTemplate>
                        </telerik:RadGridView.RowDetailsTemplate>
                    </telerik:RadGridView>
                    <telerik:RadWatermarkTextBox x:Name="txtboxInstalledModsSearch" telerik:StyleManager.Theme="Modern" WatermarkContent="Search for installed mods" HorizontalAlignment="Left" Margin="10,10,0,0" TextWrapping="Wrap" VerticalAlignment="Top" Width="758" TextChanged="txtboxInstalledModsSearch_TextChanged" />
                    <Rectangle Fill="#FF2D2D30" HorizontalAlignment="Left" Height="178" Margin="773,43,0,0" Stroke="#FF3F3F46" VerticalAlignment="Top" Width="317" />
                    <telerik:RadGridView x:Name="gridviewInstalledMods" telerik:StyleManager.Theme="Modern"  HorizontalAlignment="Left" Margin="392,67,0,0" VerticalAlignment="Top" Width="376" Height="368" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" AutoGenerateColumns="False" RowDetailsVisibilityMode="VisibleWhenSelected" MaxColumnWidth="376" ScrollViewer.HorizontalScrollBarVisibility="Disabled" ScrollViewer.VerticalScrollBarVisibility="Visible">
                        <telerik:RadGridView.Columns>
                            <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" Width="364" />
                        </telerik:RadGridView.Columns>
                        <telerik:RadGridView.RowDetailsTemplate>
                            <DataTemplate>
                                <Grid HorizontalAlignment="Left" Height="110" VerticalAlignment="Top" Width="376" Background="#FF3C3C3C">
                                    <Label Content="{Binding Name}" HorizontalAlignment="Left" Margin="10,5,0,0" VerticalAlignment="Top" Foreground="White" FontSize="30" />
                                    <telerik:RadButton x:Name="btnDeletePlugin" Tag="{Binding Name}" Content="Delete Plugin" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="10,55,0,0" VerticalAlignment="Top" FontSize="14" Width="344" Height="42" Click="btnDeleteMod_Click" />
                                </Grid>
                            </DataTemplate>
                        </telerik:RadGridView.RowDetailsTemplate>
                    </telerik:RadGridView>
                    <TextBlock HorizontalAlignment="Left" Margin="872,147,0,0" TextWrapping="Wrap" Text="(Coming soon...)" VerticalAlignment="Top" FontSize="14" Foreground="#FFCBCBCB" TextAlignment="Center" FontFamily="Segoe UI " FontStyle="Italic" Width="123" />
                    <Rectangle Fill="#FF2D2D30" HorizontalAlignment="Left" Height="176" Margin="773,259,0,0" Stroke="#FF3F3F46" VerticalAlignment="Top" Width="317" />
                    <TextBlock HorizontalAlignment="Left" Margin="825,105,0,0" TextWrapping="Wrap" Text="Drag and drop core mods here to add to the coremods folder." VerticalAlignment="Top" FontSize="14" Foreground="#FFCBCBCB" TextAlignment="Center" FontFamily="Segoe UI " Width="220" />
                    <TextBlock HorizontalAlignment="Left" Margin="872,346,0,0" TextWrapping="Wrap" Text="(Coming soon...)" VerticalAlignment="Top" FontSize="14" Foreground="#FFCBCBCB" TextAlignment="Center" FontFamily="Segoe UI " FontStyle="Italic" Width="123" />
                    <telerik:RadButton x:Name="btnOpenCoreModsFolder" Content="Open Coremods Folder" telerik:StyleManager.Theme="Modern" HorizontalAlignment="Left" Margin="773,10,0,0" VerticalAlignment="Top" FontSize="14" Width="317" Height="28" Click="btnOpenCoreModsFolder_Click" />
                    <Label Content="Core Mods:" HorizontalAlignment="Left" Margin="10,38,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI Semibold" />
                    <Label Content="Mods:" HorizontalAlignment="Left" Margin="386,38,0,0" VerticalAlignment="Top" FontSize="14" Foreground="#FFF1F1F1" FontFamily="Segoe UI Semibold" />
                    <TextBlock HorizontalAlignment="Left" Margin="835,304,0,0" TextWrapping="Wrap" Text="Drag and drop mods here to add to the mods folder." VerticalAlignment="Top" FontSize="14" Foreground="#FFCBCBCB" TextAlignment="Center" FontFamily="Segoe UI " Width="220" />
                </Grid>
            </telerik:RadTabItem>
        </telerik:RadTabControl>
        <Rectangle x:Name="rectangleTitleBar" Fill="#FF3399FF" HorizontalAlignment="Left" Height="93" VerticalAlignment="Top" Width="1100" MouseLeftButtonDown="rectangleTitleBar_MouseLeftButtonDown" />
        <Label Content="" HorizontalAlignment="Left" VerticalAlignment="Top" Foreground="White" FontSize="55" FontFamily="Segoe UI light" Margin="10,0,0,0" />
        <Image x:Name="btnExit" HorizontalAlignment="Left" Height="31" Margin="1059,10,0,0" VerticalAlignment="Top" Width="31" Source="/Resources\btnexit.png" MouseDown="btnExit_MouseDown" />
        <Image x:Name="btnMinimize" HorizontalAlignment="Left" Height="31" Margin="1023,10,0,0" VerticalAlignment="Top" Width="31" Source="/Resources/btnMinimize.png" MouseDown="btnMinimize_MouseDown" />
        <Image HorizontalAlignment="Left" Height="60" Margin="10,10,0,0" VerticalAlignment="Top" Width="425" Source="/Resources/logo.png" />
        <Label x:Name="lblError" Content="" HorizontalAlignment="Left" Margin="440,55,0,0" VerticalAlignment="Top" FontSize="14" Foreground="White" Background="Red" Width="650" FontFamily="Segoe UI " Height="28" Visibility="Hidden" />
    </Grid>
</Window>